/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.kleintjes.behavioral.iterator_pattern.model;

/**
 *
 * @author Hughan.Kleintjes.hughanK@gmail.com
 */
public class Item {
    
    String name;
    float price;
    
    public Item(String name, float price) {
        this.name = name;
        this.price = price;
    }
    
    @Override
    public String toString()
    {
        return name+": $"+price;
    }
        
}
